//app.js
import DowloadUrl from "./utils/http";
import RunData from "./config/runData";
import Keys from "./config/keys";
import Config from "./config/config";

App({
  onLaunch: function () {
    // new DowloadUrl().http();
      wx.getSystemInfo({
          success: function (res) {
              RunData.windowWidth = res.windowWidth;
              RunData.windowHeight = res.windowHeight;
          }
      })
      wx.getStorage({
          key:Keys.MyUserInfo,
          success:(data)=>{
              RunData.MyUserInfo = data.data;
              RunData.sessionId = data.data.sessionId;
          }
      })
  },
  globalData: {
  }
});